package com.xjnt.base.support.admin.controller;

import com.xjnt.base.support.admin.entity.Log;
import com.xjnt.base.support.admin.service.LogService;
import com.xjnt.frameworks.annotation.AutoInject;
import com.xjnt.frameworks.annotation.Router;
import com.xjnt.frameworks.core.CRUDController;

@Router(name="/system/monitor/log", view="/admin/log")
public class LogController extends CRUDController<Log, LogService> {

	@AutoInject
	private LogService logService;
	
	@Override
	protected String getBizName() {
		return "日志";
	}
	
	@Override
	protected Class<Log> getClazz() {
		return Log.class;
	}

	@Override
	protected LogService getService() {
		return logService;
	}

}
